scalaVersion := "2.10.6"

name := "progInScala"

libraryDependencies ++= Seq(
  "org.scalatest" % "scalatest_2.10" % "2.2.4" % "test",  // ScalaTest
  "org.specs2" %% "specs2-core" % "3.6.6" % "test",
  "org.scalacheck" %% "scalacheck" % "1.13.0" % "test",
  "junit" % "junit" % "4.12" % "test",                    // JUnit
  "com.novocode" % "junit-interface" % "0.11" % "test",
  "org.mockito" % "mockito-core" % "1.10.19",             // Mockito
  "org.testng" % "testng" % "6.8.21" % "test",			  // TestNG
  // Akka actors
  "com.typesafe.akka" %% "akka-actor" % "2.3.15",          // Classic Actors, Typed Actors, IO Actor etc.
  "com.typesafe.akka" %% "akka-slf4j" % "2.3.15",          // SLF4J Logger (event bus listener)
  "com.typesafe.akka" %% "akka-remote" % "2.3.15",         // Remote Actors
  "com.typesafe.akka" %% "akka-agent" % "2.3.15",          // Agents, integrated with Scala STM
  "com.typesafe.akka" %% "akka-testkit" % "2.3.15" % "test", // Toolkit for testing Actor systems
  // Scala actor
  "org.scala-lang" % "scala-actors" % "2.10.6",            // Scala Actors, learning purpose
  "org.scala-lang" % "scala-reflect" % "2.10.6",           // Scala Reflect
  "org.scala-lang" % "scala-swing" % "2.10.6",             // Scala Swing
  "io.reactivex" %% "rxscala" % "0.24.1",

  // sppark
  "org.apache.spark" %% "spark-parent" % "2.0.0",
  "org.apache.spark" %% "spark-bagel" % "1.6.1",
  "org.apache.spark" %% "spark-catalyst" % "2.0.0",
  "org.apache.spark" %% "spark-yarn" % "2.0.0",
  "org.apache.spark" %% "spark-launcher" % "2.0.0",
  "org.apache.spark" %% "spark-repl" % "2.0.0",
  "org.apache.spark" %% "spark-streaming" % "2.0.0",
  "org.apache.spark" %% "spark-streaming-twitter" % "1.6.1",
  "org.twitter4j" % "twitter4j-stream" % "4.0.4",
  "org.apache.spark" %% "spark-sql" % "2.0.0",
  "org.apache.spark" %% "spark-hive" % "2.0.0"
)

// with Scala 2.9.3 (specs2 1.12.4.1 is the latest version for scala 2.9.3)
// "org.specs2" %% "specs2" % "1.12.4.1" % "test",

scalacOptions in Test ++= Seq("-Yrangepos")

// Read here for optional jars and dependencies:
// http://etorreborre.github.io/specs2/guide/org.specs2.guide.Runners.html#Dependencies

resolvers ++= Seq("snapshots", "releases").map(Resolver.sonatypeRepo)

resolvers += "Typesafe Repository" at "http://repo.typesafe.com/typesafe/releases/"
  
mainClass in (Compile, run) := Some("Hi")